<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form action="test.jsp" name="select" id="select" method="post">
<input type="hidden" name="submitted" value="true">
	<table>
		<tr>
			<td>a:<%-- c:out value="${param.submitted}+${user.xmlGenerated}"/ --%></td>
			<td><input type="text" name="a" value="">
			</td>
		</tr>
		<tr>
			<td>b:</td>
			<td><input type="text" name="b" value="">
			</td>
		</tr>
		<input type="submit" name="submitted" value="result">
	</table>
</form>
	<c:if test="${param.submitted}">
		<c:out value="${param.a+param.b}"/>
	</c:if>
</body>
</html>